package c99其他情况;

import java.io.File;

public class 综合测评工具 {

	public static void main(String[] args) {
		String num = "201031000801,201031000802,201031000803,201031000804,201031000805,201031000806,201031000807,201031000808,201031000809,201031000810,201031000811,201031000812,201031000813,201031000814,201031000815,201031000816,201031000817,201031000818,201031000819,201031000820,201031000821,201031000822,201031000823,201031000824,201031000825,201031000826,201031000827,201031000828,201031000829,201031000830,201031000831";
		String name = "曹思慧,陈海鑫,陈函,陈晓玩,韩杰平,何修福,黄科,黄铭栋,黄孝斌,江武杰,李思俊,李昕亮,李子杰,梁伟强,刘柏桦,龙腾,欧阳仲康,潘毅成,潘玉前,丘学俊,茹进国,冼嘉俊,萧沛健,谢旭锐,余铭峰,袁炜林,张潮彬,张文杰,赵万昌,郑丁科,庄辉";
		String[] nums = num.split(",");
		String[] names = name.split(",");
		File dir = new File("C:\\Users\\袁炜林\\Desktop\\10软工8综合测评");
		File[] fs = dir.listFiles();
		for (int i = 0; i < names.length; i++) {
//			fs[i].renameTo(new File("C:\\Users\\袁炜林\\Desktop\\10软工8综合测评\\"+nums[i]+names[i]+".xls"));
			fs[i].renameTo(new File("C:\\Users\\袁炜林\\Desktop\\10软工8综合测评\\" + nums[i] + names[i] + ".doc"));
		}

	}

}
